package com.zqxq.lottery.cms.feign;


import com.zqxq.common.constant.Result;
import com.zqxq.lottery.entity.bo.order.OfOrderBetBO;
import com.zqxq.lottery.entity.bo.sys.LotteryKindBO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "api-offline", configuration = FeignClientsConfiguration.class)
public interface ApiOfflineFeignClient {

    @RequestMapping(value="/offline/order/page", method = RequestMethod.POST)
    Result queryOrderPage(@RequestBody OfOrderBetBO search);

    @RequestMapping(value="/offline/order/buyTicket", method = RequestMethod.POST)
    Result buyTicket(@RequestBody OfOrderBetBO search);

}
